package com.hotelvip.common.pojo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author Lzh
 * @date 2020/12/17 15:01
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Tree implements Serializable {
    private static final long serialVersionUID = 6904860186603541043L;
    @ApiModelProperty(value = "id",name = "id")
    private Long id;
    @ApiModelProperty(value = "分类属性名称",name = "name")
    private String text;
    @ApiModelProperty(value = "是否为父级",notes = "由是否为父级决定 如果是父级则关闭closed 否则为子级open",name = "state")
    private String state;
}
